package com.java.service;

import com.java.entity.PageBean;
import com.java.entity.PsInspectiontaskDetail;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author caiyuan
 * @version 1.0
 * @Date 2020/6/25 4:09 Dream-Seeker
 * @Description
 */
@Service
public interface PsInspectiontaskDetailService {
    List<PsInspectiontaskDetail> getInspecdetailBylineCodes(String lineCode);

    PsInspectiontaskDetail getInspecdetailBytaskId(Integer taskId);

    Integer addPsInspectiontaskDetail(PsInspectiontaskDetail psInspectiontaskMain);

    PsInspectiontaskDetail getInspecBypoleCode(String poleCode);

    Integer updatePsInspec(PsInspectiontaskDetail psInspectiontaskDetail);

    PageBean<PsInspectiontaskDetail> findByPageInspecDetail(Integer currentPage, String lineCode, String bugTypeName, String bugLevelName, String findthetimestart, String findthetimeend, String issuedTimestart, String issuedTimeend);
}
